/**
 * Created by IntelliJ IDEA.
 * User: user
 * Date: 15.06.12
 * Time: 08:58
 * To change this template use File | Settings | File Templates.
 */
package zakladki.AS3 {
public class ConsumptionSelectedData {

    private var _income:int;
    private var _recycling:int;
    private var _furnitureElectronics:int;
    private var _electricity:int;
    private var _packaging:int;
    private var _clothes:int;
    private var _recreation:int;

    private var _tvSelected:Boolean;
    private var _videoDVDSelected:Boolean;
    private var _cableTVSelected:Boolean;
    private var _computeSelected:Boolean;
    private var _radioHiFiSelected:Boolean;
    private var _electricLightningSelected:Boolean;
    private var _underwearDryerSelected:Boolean;

    private var _renewableRatio:int;

    public function getString():String {
        var result:String = ""  + _income + " " + _recycling + " " + _furnitureElectronics +
                            " " + _electricity + " " + _packaging + " " + _clothes + " " +
                            " " + _recreation + " "  + _tvSelected + " " + _videoDVDSelected +
                            " " + _cableTVSelected + " " + _computeSelected + " " + _radioHiFiSelected +
                            " " + _electricLightningSelected + " " + _underwearDryerSelected +
                            " " + renewableRatio;

        return result;
    }


    public function ConsumptionSelectedData(income:int, recycling:int, furnitureElectronics:int, electricity:int, packaging:int, clothes:int, recreation:int, tvSelected:Boolean, videoDVDSelected:Boolean, cableTVSelected:Boolean, computeSelected:Boolean, radioHiFiSelected:Boolean, electricLightningSelected:Boolean, underwearDryer:Boolean, renewableRatio:int) {
        _income = income;
        _recycling = recycling;
        _furnitureElectronics = furnitureElectronics;
        _electricity = electricity;
        _packaging = packaging;
        _clothes = clothes;
        _recreation = recreation;
        _tvSelected = tvSelected;
        _videoDVDSelected = videoDVDSelected;
        _cableTVSelected = cableTVSelected;
        _computeSelected = computeSelected;
        _radioHiFiSelected = radioHiFiSelected;
        _electricLightningSelected = electricLightningSelected;
        _underwearDryerSelected = underwearDryer;
        _renewableRatio = renewableRatio;
    }

    public function get underwearDryerSelected():Boolean {
        return _underwearDryerSelected;
    }

    public function set underwearDryerSelected(value:Boolean):void {
        _underwearDryerSelected = value;
    }

    public function get renewableRatio():int {
        return _renewableRatio;
    }

    public function set renewableRatio(value:int):void {
        _renewableRatio = value;
    }

    public function get income():int {
        return _income;
    }

    public function set income(value:int):void {
        _income = value;
    }

    public function get recycling():int {
        return _recycling;
    }

    public function set recycling(value:int):void {
        _recycling = value;
    }

    public function get furnitureElectronics():int {
        return _furnitureElectronics;
    }

    public function set furnitureElectronics(value:int):void {
        _furnitureElectronics = value;
    }

    public function get electricity():int {
        return _electricity;
    }

    public function set electricity(value:int):void {
        _electricity = value;
    }

    public function get packaging():int {
        return _packaging;
    }

    public function set packaging(value:int):void {
        _packaging = value;
    }

    public function get clothes():int {
        return _clothes;
    }

    public function set clothes(value:int):void {
        _clothes = value;
    }

    public function get recreation():int {
        return _recreation;
    }

    public function set recreation(value:int):void {
        _recreation = value;
    }

    public function get tvSelected():Boolean {
        return _tvSelected;
    }

    public function set tvSelected(value:Boolean):void {
        _tvSelected = value;
    }

    public function get videoDVDSelected():Boolean {
        return _videoDVDSelected;
    }

    public function set videoDVDSelected(value:Boolean):void {
        _videoDVDSelected = value;
    }

    public function get electricLightningSelected():Boolean {
        return _electricLightningSelected;
    }

    public function set electricLightningSelected(value:Boolean):void {
        _electricLightningSelected = value;
    }

    public function get cableTVSelected():Boolean {
        return _cableTVSelected;
    }

    public function set cableTVSelected(value:Boolean):void {
        _cableTVSelected = value;
    }

    public function get computeSelected():Boolean {
        return _computeSelected;
    }

    public function set computeSelected(value:Boolean):void {
        _computeSelected = value;
    }

    public function get radioHiFiSelected():Boolean {
        return _radioHiFiSelected;
    }

    public function set radioHiFiSelected(value:Boolean):void {
        _radioHiFiSelected = value;
    }
}
}
